import mongoose from "mongoose";
const pageAssetsSchema = new mongoose.Schema(
  {
    key: { type: String, default: "global", unique: true },
    homeOrganizeLogo: {
      type: String,
      default:
        "https://cdn.jsdelivr.net.cn/gh/qdqqd/url-core@A/tc_uploads/u484aeclgx.png",
    },
    homeCanvasBg: {
      type: String,
      default:
        "https://s3plus.meituan.net/opapisdk/op_ticket_1_885190757_1761319957515_qdqqd_rn6fa6.jpg",
    },
    homeYYSLSlogo: {
      type: String,
      default:
        "https://cdncs.ykt.cbern.com.cn/v0.1/download?path=/zxx_feedback/feedback/1761320008884_logo2-1.png",
    },
    videoOrganizeLogo: {
      type: String,
      default:
        "https://www.yn12377.cn/jubao/upload/smjb/2025/10/24/96cb1a1385fc4a6d8029d41eaf065eb0.png",
    },
    videoTxt: {
      type: String,
      default:
        "https://e3f49eaa46b57.cdn.sohucs.com/2025/10/24/23/37/MTAwMTE0XzE3NjEzMjAyMzAyMjU=.png",
    },
    videoYYSLSlogo: {
      type: String,
      default:
        "https://zkaicc.huilan.com/aicc/api/aicc-file/miniofile/preViewPicture/aicc/qdqqd_1761320132355.png",
    },
    bookBg: {
      type: String,
      default:
        "https://cdn.jsdelivr.net.cn/gh/qdqqd/url-core@A/tc_uploads/6ck8ycz6nb.jpg",
    },
    characterAvatarList: {
      type: String,
      default:
        "https://xiaoiwg.dongfeng-nissan.com.cn/aicc-workbench/res/download/default/temp/images/20251025/592cc205edf8ede681e597671829e98391be4569.png",
    },
    characterLeftTextBg: {
      type: String,
      default:
        "https://xiaoiwg.dongfeng-nissan.com.cn/aicc-workbench/res/download/default/temp/images/20251025/fba2b19b22ea9cb281f2a9c94277302811b6dc1d.png",
    },
    characterRightVideoBg: {
      type: String,
      default: "https://kycloud4.koyoo.cn/202510257f7e6202510250009561422.png",
    },
    homeNavText: { type: String, default: "卷首轩章" },
    videoNavText: { type: String, default: "流光碎玉集" },
    bookNavText: { type: String, default: "浮生一叶集" },
    characterNavText: { type: String, default: "风华侠客传" },
  },
  { collection: "PageAssets" }
);

const PageAssets = mongoose.model("PageAssets", pageAssetsSchema);

export default PageAssets;
